﻿using UnityEngine;
using System.Collections;

public static class SpawnPoolService
{
	public static void Initialize()
	{
		mSpawnPool = new SpawnPool();
	}

	static SpawnPool mSpawnPool;
	
	public static SpawnPool CreateSpawnPool(string poolId)
	{
		return mSpawnPool.CreateSpawnPool(poolId);
	}
	
	public static SpawnPool RemovePool (string poolId)
	{
		return mSpawnPool.CreateSpawnPool(poolId);
	}
	
	public static SpawnPool GetSpawnPool (string poolId)
	{
		SpawnPool pool = mSpawnPool;

		return pool;
	}
}
